﻿using System;
using MathNet.Numerics.LinearAlgebra;

namespace GridRayTracer
{
  public class Ray
  {
    public Ray(Vector start, Vector direction)
    {
      Start = start;
      Direction = direction.Normalize();
    }
    
    public Vector Start
    {
      get;
      set;
    }
    
    /// <summary>
    /// Ray direction. Assumed to be unit vector.
    /// </summary>
    public Vector Direction 
    {
      get;
      set;      
    }
  }
}
